Posts

Post not yet marked as solved
1 Replies
1.Create Folder - let filePath = documentDirectory.appendingPathComponent("FolderName") if !fileManager.fileExists(atPath: filePath.path) { do { try fileManager.createDirectory(atPath: filePath.path, withIntermediateDirectories: true, attributes: nil) } catch { print(error.localizedDescription) return nil } }2. Let url = videoURL destinationURL = filePath.appendingPathComponent("filename.mp4") url.startAccessingSecurityScopedResource() do { try FileManager.default.copyItem(at: url, to: destinationURL) } catch { Logging.Log.error("EncodeVideo failed \(error.localizedDescription)") } url.startAccessingSecurityScopedResource()3. Start Mov to MP4 now it is working.
Post not yet marked as solved
10 Replies
Hi Eskimo,Thanks for replying.We have some questions.1. Currently, we use UIWebview for a third party login. Can we continue with this? However, Apple says UIWebView is deprecated over WKWebView.2. By which date this bug https://bugs.webkit.org/show_bug.cgi?id=179077 will get fixed? Meanwhile, can we continue to use UIWebView?Looking forward to your reply.